﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Kangaroo.Model;

namespace Kangaroo.MapMarker
{
    public partial class PropertyForm : Form
    {
        public object Channel { get; set; }

        public PropertyForm(object channel)
        {
            Channel = channel;
            InitializeComponent();
        }

        private void ChannelForm_Load(object sender, EventArgs e)
        {
            _channelProperties.SelectedObject = Channel;
        }

        private void _okButton_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.OK;
            Close();
        }
    }
}
